﻿using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using QualityRpt.Utils;

namespace QualityRpt.Dao
{
    /// <summary>
    /// IBaseDao 的摘要说明
    /// 持久化类的基本操作
    /// </summary>
    public interface IBaseDao
    {
        DataRow Save(DataRow row);
        DataRow Update(DataRow row);
        DataRow Get(long id);
        void Delete(long id);
        DataTable GetList(string where);
        DataTable GetList(string where, string sort);
        DataTable GetPageList(PageUtils pu, string where, string sort);
    }
}
